package com.hundsun.model;

import java.util.List;

/**
 * @author jiangwj20966 2018/9/21
 */
public class ExcelToDbData {

    private String tableName;
    private String excelName;

    private List<DataInfo> dataInfos;


    public ExcelToDbData(String tableName) {
        this.tableName = tableName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getExcelName() {
        return excelName;
    }

    public void setExcelName(String excelName) {
        this.excelName = excelName;
    }

    public List<DataInfo> getDataInfos() {
        return dataInfos;
    }

    public void setDataInfos(List<DataInfo> dataInfos) {
        this.dataInfos = dataInfos;
    }

    public static class DataInfo {
        private String columnName;
        private String excelColumnIndex;
        private String value;

        public DataInfo(String columnName, String excelColumnIndex, String value) {
            this.columnName = columnName;
            this.excelColumnIndex = excelColumnIndex;
            this.value = value;
        }

        public DataInfo() {
        }

        public String getColumnName() {
            return columnName;
        }

        public void setColumnName(String columnName) {
            this.columnName = columnName;
        }

        public String getExcelColumnIndex() {
            return excelColumnIndex;
        }

        public void setExcelColumnIndex(String excelColumnIndex) {
            this.excelColumnIndex = excelColumnIndex;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
